package com.ruoyi.weixin.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 微信自动回复对象 wx_auto_reply
 *
 * @author dqianhe
 * @date 2022-04-27
 */
public class WxAutoReply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 创建者
     */
    @Excel(name = "创建者")
    private String createId;

    /**
     * 更新者
     */
    @Excel(name = "更新者")
    private String updateId;

    /**
     * 逻辑删除标记（0：显示；1：隐藏）
     */
    private String delFlag;

    /**
     * 类型（1、关注时回复；2、消息回复；3、关键词回复）
     */
    @Excel(name = "类型", readConverterExp = "1=、关注时回复；2、消息回复；3、关键词回复")
    private String type;

    /**
     * 关键词
     */
    @Excel(name = "关键词")
    private String reqKey;

    /**
     * 请求消息类型（text：文本；image：图片；voice：语音；video：视频；shortvideo：小视频；location：地理位置）
     */
    @Excel(name = "请求消息类型", readConverterExp = "t=ext：文本；image：图片；voice：语音；video：视频；shortvideo：小视频；location：地理位置")
    private String reqType;

    /**
     * 回复消息类型（text：文本；image：图片；voice：语音；video：视频；music：音乐；news：图文）
     */
    @Excel(name = "回复消息类型", readConverterExp = "t=ext：文本；image：图片；voice：语音；video：视频；music：音乐；news：图文")
    private String repType;

    /**
     * 回复类型文本匹配类型（1、全匹配，2、半匹配）
     */
    @Excel(name = "回复类型文本匹配类型", readConverterExp = "1=、全匹配，2、半匹配")
    private String repMate;

    /**
     * 回复类型文本保存文字
     */
    @Excel(name = "回复类型文本保存文字")
    private String repContent;

    /**
     * 回复类型imge、voice、news、video的mediaID或音乐缩略图的媒体id
     */
    @Excel(name = "回复类型imge、voice、news、video的mediaID或音乐缩略图的媒体id")
    private String repMediaId;

    /**
     * 回复的素材名、视频和音乐的标题
     */
    @Excel(name = "回复的素材名、视频和音乐的标题")
    private String repName;

    /**
     * 视频和音乐的描述
     */
    @Excel(name = "视频和音乐的描述")
    private String repDesc;

    /**
     * 链接
     */
    @Excel(name = "链接")
    private String repUrl;

    /**
     * 高质量链接
     */
    @Excel(name = "高质量链接")
    private String repHqUrl;

    /**
     * 缩略图的媒体id
     */
    @Excel(name = "缩略图的媒体id")
    private String repThumbMediaId;

    /**
     * 缩略图url
     */
    @Excel(name = "缩略图url")
    private String repThumbUrl;

    /**
     * 图文消息的内容
     */
    @Excel(name = "图文消息的内容")
    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getReqKey() {
        return reqKey;
    }

    public void setReqKey(String reqKey) {
        this.reqKey = reqKey;
    }

    public String getReqType() {
        return reqType;
    }

    public void setReqType(String reqType) {
        this.reqType = reqType;
    }

    public String getRepType() {
        return repType;
    }

    public void setRepType(String repType) {
        this.repType = repType;
    }

    public String getRepMate() {
        return repMate;
    }

    public void setRepMate(String repMate) {
        this.repMate = repMate;
    }

    public String getRepContent() {
        return repContent;
    }

    public void setRepContent(String repContent) {
        this.repContent = repContent;
    }

    public String getRepMediaId() {
        return repMediaId;
    }

    public void setRepMediaId(String repMediaId) {
        this.repMediaId = repMediaId;
    }

    public String getRepName() {
        return repName;
    }

    public void setRepName(String repName) {
        this.repName = repName;
    }

    public String getRepDesc() {
        return repDesc;
    }

    public void setRepDesc(String repDesc) {
        this.repDesc = repDesc;
    }

    public String getRepUrl() {
        return repUrl;
    }

    public void setRepUrl(String repUrl) {
        this.repUrl = repUrl;
    }

    public String getRepHqUrl() {
        return repHqUrl;
    }

    public void setRepHqUrl(String repHqUrl) {
        this.repHqUrl = repHqUrl;
    }

    public String getRepThumbMediaId() {
        return repThumbMediaId;
    }

    public void setRepThumbMediaId(String repThumbMediaId) {
        this.repThumbMediaId = repThumbMediaId;
    }

    public String getRepThumbUrl() {
        return repThumbUrl;
    }

    public void setRepThumbUrl(String repThumbUrl) {
        this.repThumbUrl = repThumbUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createId", getCreateId())
                .append("createTime", getCreateTime())
                .append("updateId", getUpdateId())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("type", getType())
                .append("reqKey", getReqKey())
                .append("reqType", getReqType())
                .append("repType", getRepType())
                .append("repMate", getRepMate())
                .append("repContent", getRepContent())
                .append("repMediaId", getRepMediaId())
                .append("repName", getRepName())
                .append("repDesc", getRepDesc())
                .append("repUrl", getRepUrl())
                .append("repHqUrl", getRepHqUrl())
                .append("repThumbMediaId", getRepThumbMediaId())
                .append("repThumbUrl", getRepThumbUrl())
                .append("content", getContent())
                .toString();
    }
}
